﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagementClient.Model
{
    public class ChatGroupContent
    {
        public int id { get; set; }
        public string groupCode { get; set; }
        public string sendUser { get; set; }
        public string nickName { get; set; }
        public string avatar { get; set; }
        public string chatMsg { get; set; }
        public string createTime { get; set; }
        public string msgType { get; set; }

        public ChatGroupContent(int id, string groupCode, string sendUser, string nickName, string avatar, string chatMsg, string createTime, string msgType)
        {
            this.id = id;
            this.groupCode = groupCode;
            this.sendUser = sendUser;
            this.nickName = nickName;
            this.avatar = avatar;
            this.chatMsg = chatMsg;
            this.createTime = createTime;
            this.msgType = msgType;
        }

        public ChatGroupContent(string groupCode, string sendUser, string nickName, string avatar, string chatMsg, string createTime, string msgType)
        {
            this.groupCode = groupCode;
            this.sendUser = sendUser;
            this.nickName = nickName;
            this.avatar = avatar;
            this.chatMsg = chatMsg;
            this.createTime = createTime;
            this.msgType = msgType;
        }

        public ChatGroupContent()
        {
        }
    }
}
